package com.brspace.qualitycontrol.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 发文
 * </p>
 *
 * @author ${author}
 * @since 2021-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Hairwrit对象", description="发文")
public class Hairwrit implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "uuid")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "类型")
    private String typs;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "公文文号")
    private String writNum;

    @ApiModelProperty(value = "主题词")
    private String theme;

    @ApiModelProperty(value = "拟稿人")
    private String draftUser;

    @ApiModelProperty(value = "拟稿时间")
    private Date draftTime;

    @ApiModelProperty(value = "签发")
    private String signHair;

    @ApiModelProperty(value = "会签")
    private String meetSign;

    @ApiModelProperty(value = "核稿")
    private String nucleus;

    @ApiModelProperty(value = "主办单位")
    private String mainDo;

    @ApiModelProperty(value = "事由")
    private String reason;

    @ApiModelProperty(value = "附件")
    private String annex;

    @ApiModelProperty(value = "主送机关")
    private String mainGive;

    @ApiModelProperty(value = "抄送机关")
    private String copyGive;

    @ApiModelProperty(value = "打字")
    private String typing;

    @ApiModelProperty(value = "校对")
    private String proof;

    @ApiModelProperty(value = "份数")
    private String num;

    @ApiModelProperty(value = "封发日期")
    private Date sealTime;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
